import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import './style.css'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

// import VueMarkdownEditor from '@kangc/v-md-editor';
// import '@kangc/v-md-editor/lib/style/base-editor.css';
// import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
// import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
// import Prism from 'prismjs';
// VueMarkdownEditor.use(vuepressTheme, {
    // Prism,
// });

import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/preview.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
// highlightjs
import hljs from 'highlight.js';
VMdPreview.use(vuepressTheme, {
  Hljs: hljs,
});

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App).use(store).use(router);
app.use(mavonEditor);
// app.use(VueMarkdownEditor);
app.use(VMdPreview);
app.use(ElementPlus);
app.mount('#app');
